tools/xentop : replace use of deprecated vwprintw
authorChristopher Clark <christopher.w.clark@gmail.com>
Wed, 18 Jul 2018 22:22:17 +0000 (15:22 -0700)
committerIan Jackson <ian.jackson@citrix.com>
Fri, 22 Feb 2019 14:41:14 +0000 (14:41 +0000)
commit0c01b0cebeabf60537927e8b43732c33734eaa3a
treefd2a603975c2d3b46970f446cc40ec731a52a997
parenta3741870ce99698dc3a2360e4450b95dd15147fd
tools/xentop : replace use of deprecated vwprintw

gcc-8.1 complains:

| xentop.c: In function 'print':
| xentop.c:304:4: error: 'vwprintw' is deprecated [-Werror=deprecated-declarations]
|     vwprintw(stdscr, (curses_str_t)fmt, args);
|     ^~~~~~~~

vw_printw (note the underscore) is a non-deprecated alternative.

Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com>
Gbp-Pq: Topic misc
Gbp-Pq: Name tools-xentop-replace-use-of-deprecated-vwprintw.patch
tools/xenstat/xentop/xentop.c